import { createApp } from "vue";
import { createPinia } from "pinia";
import { Lazyload } from "vant";
import App from "./App.vue";
import router from "./router";
import Vant from "vant";

// import "./common/flexible";
import "vant/lib/index.css";
import "amfe-flexible";
// import "./assets/main.css";

const app = createApp(App);

app.use(Vant);
app.use(Lazyload, {
  lazyComponent: true,
  loading: "/loading.png",
  error: "/error.png",
});

app.use(createPinia());
app.use(router);

app.mount("#app");
